package com.deam.imsdk.bean;

import com.alibaba.fastjson.JSONObject;
import com.deam.imsdk.utils.Constants;

/**
 * Created by Administrator on 2018/5/9.
 */

public class UserInfo {
    public static final String USER_ID = "UserId";
    public static final String NETNAME = "Netname";
    public static final String TOKEN = "token";
    public static final String START = "start";
    public static final int START_US = -1;//未登录
    public static final int START_RE = 1;//已经登录
    public static final int START_CO = 2;//隐身
    private String userId;//用户id
    private String netname;//网名
    private String token;
    private int start = START_US;
    private long lastHearBeatTile = System.currentTimeMillis();

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getNetname() {
        return netname;
    }

    public void setNetname(String netname) {
        this.netname = netname;
    }

    public static String getNETNAME() {
        return NETNAME;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public int getStart() {
        return start;
    }

    public void setStart(int start) {
        this.start = start;
    }

    public long getLastHearBeatTile() {
        return lastHearBeatTile;
    }

    public void setLastHearBeatTile(long lastHearBeatTile) {
        this.lastHearBeatTile = lastHearBeatTile;
    }

}
